package com.example.zzy.zzytest.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@RefreshScope
public class BizConfig {
    @Value("${biz.refresh}")
    private String refresh;

    @Bean
    public String getRefresh() {
        //System.out.println(refresh);
        return refresh;
    }
}
